InsertAudioTrack method   

Add an audio file/track to the audio image. The audio file must be a valid .mp3 or .wav file for the method to succeed. If the Track parameter is numerically out of sequence with the current image tracks, it will be assigned to the next open track number. If a track is inserted between two existing tracks, all subsequent tracks will be shifted to accommodate the new track. EnumerateAudioTracks can be called at any time to get the track information for all tracks. 

Return Type

A Boolean value.

Syntax

object.InsertAudioTrack(FileName As String, Track As Integer)

The InsertAudioTrack method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterXP.
FileNameString
TrackInteger